package xyz.zhzby.cyzx.cms.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.zhzby.cyzx.servicebase.domain.PageRequest;

/**
 * @author zby
 * @date 2021/12/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("文章查询封装")
public class ArticlePageRequest extends PageRequest {

    @ApiModelProperty("文章标签ID")
    private Long tagID;

    @ApiModelProperty("文章分栏ID")
    private Long channelID;

    @ApiModelProperty("文章标题")
    private String title;

    @ApiModelProperty("用户ID（为空为查询所有）")
    private Long userID;

    @ApiModelProperty("文章状态（0草稿1发布2回收站）")
    private Integer status;

}
